﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mp/MPOferta.Master" AutoEventWireup="true" CodeBehind="RegistroOferta.aspx.cs" Inherits="MODASA.Oferta.RegistroOferta" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">


    <script type="text/javascript">
        function mpanel(div) {
            panel = document.getElementById(div);

            panel1 = document.getElementById('panel1');
            panel2 = document.getElementById('panel2');
            panel3 = document.getElementById('panel3');
            panel4 = document.getElementById('panel4');
 
            panel1.style.display = 'none';
            panel2.style.display = 'none';
			   try{
            panel3.style.display = 'none';
} catch (err) {};

            panel.style.display = 'block';
        }
</script>

<style>




    </style>

    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenido" runat="server">


<div class="gencont">
 
   <div class="cuadro-container" style="width:100%" >
     
           
           <div class="conteiner-of">

           <div class="contenedor-grande">
             <table width="100%" border="0" cellspacing="10" cellpadding="0">
                           <tr>
                <td>
                    oferta</td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </td>
                <td>&nbsp;
                    </td>
                <td rowspan="2">&nbsp;
                    &nbsp;
                    </td>
                <td>
                    valor neto</td>
                <td colspan="2">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <asp:TextBox ID="TextBox4" runat="server" Width="51px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    cliente</td>
                <td>
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </td>
                <td>&nbsp;
                    </td>
                <td>&nbsp;
                    </td>
                <td>&nbsp;
                    </td>
            </tr>
           
               </table>
               
                 <div style="float:right; position:relative ;  padding:20px;">
                               <asp:Button ID="BTNCANCELAR" runat="server" CssClass="button" Text="Cancelar" />
                               <asp:Button ID="BTNGUARDAR" runat="server" CssClass="button" Text="Guardar" />
                 </div>
                    
                 
             </div>

</div>

 <br />  

<div class="conteiner-of">

       <div id="tab-container" class='tab-container'>
                        <ul class='etabs'>
                         <li class='tab'><a href="#Ventas">Ventas</a></li>
                         <li class='tab'><a href="#Detalle">Detalle de Posición</a></li>
                         <li class='tab'><a href="#Rechazo">Motivo de Rechazo</a></li>
                     </ul>

             <div class='panel-container'>
                     <div id="Ventas">
                 <asp:ScriptManager ID="ScriptManagerVentas" runat="server">
                 </asp:ScriptManager>
             
                 <asp:UpdatePanel ID="UpdatePanelVentas" runat="server">
                     <ContentTemplate>
                         <table border="0" cellpadding="0" cellspacing="15" width="100%">
                             <tr>
                                 <td>
                                     Fecha Entrega</td>
                                 <td>
                                     <asp:TextBox ID="TBFENTREGA" runat="server"></asp:TextBox>
                                     <asp:ImageButton ID="IBFENTREGA" runat="server" 
                                         ImageUrl="~/images/calendar.png" onclick="IBFENTREGA_Click" />
                                     <div class="calendario">
                                         <asp:Calendar ID="CFENTREGA" runat="server" 
                                             onselectionchanged="CFECHAENTREGA_SelectionChanged" Visible="False">
                                         </asp:Calendar>
                                     </div>
                                 </td>
                                 <td>&nbsp;
                                     </td>
                                 <td>&nbsp;
                                     </td>
                             </tr>
                             <tr>
                                 <td>
                                     Valido de</td>
                                 <td>
                                     <asp:TextBox ID="TBVALIDO" runat="server"></asp:TextBox>
                                     <asp:ImageButton ID="IBVALIDO" runat="server" 
                                         ImageUrl="~/images/calendar.png" onclick="IBVALIDO_Click" />
                                     <div class="calendario">
                                         <asp:Calendar ID="CVALIDO" runat="server" 
                                             onselectionchanged="CVALIDO_SelectionChanged" Visible="False">
                                         </asp:Calendar>
                                     </div>
                                 </td>
                                 <td>
                                     Validez a</td>
                                 <td>
                                     <asp:TextBox ID="TBVALIDEZ" runat="server"></asp:TextBox>
                                     <asp:ImageButton ID="IBVALIDEZ" runat="server" 
                                         ImageUrl="~/images/calendar.png" onclick="IBVALIDEZ_Click" />
                                     <div class="calendario">
                                         <asp:Calendar ID="CVALIDEZ" runat="server" 
                                             onselectionchanged="CVALIDEZ_SelectionChanged" Visible="False">
                                         </asp:Calendar>
                                     </div>
                                 </td>
                             </tr>
                             <tr>
                                 <td>
                                     Condición de Pago</td>
                                 <td>
                                     <asp:TextBox ID="TBCONDPAGO" runat="server"></asp:TextBox>
                                 </td>
                                 <td>&nbsp;
                                     </td>
                                 <td>&nbsp;
                                     </td>
                             </tr>
                             <tr>
                                 <td colspan="4">
                                     <asp:GridView ID="GVDETALLE" runat="server" CellPadding="4" ForeColor="#333333" 
                                         GridLines="None" Width="100%">
                                         <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                         <EditRowStyle BackColor="#999999" />
                                         <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                         <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                         <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                         <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                         <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                         <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                         <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                         <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                         <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                                     </asp:GridView>
                                 </td>
                             </tr>
                         </table>
                     </ContentTemplate>
                 </asp:UpdatePanel>


                 </div>


                     <div id="Detalle">
                       <table width="100%" border="0" cellspacing="10" cellpadding="0">
                         <tr>
                           <td>Posición</td>
                           <td>
                               <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
                             </td>
                           <td>&nbsp;</td>
                           <td>&nbsp;</td>
                           <td>&nbsp;</td>
                         </tr>
                         <tr>
                           <td>Material</td>
                           <td>
                               <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
                             </td>
                           <td colspan="2">
                               <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                             </td>
                           <td>&nbsp;</td>
                         </tr>
                         <tr>
                           <td>Cantidad</td>
                           <td>
                               <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
                             </td>
                           <td>Motivo de rechazo</td>
                           <td>
                               <asp:DropDownList ID="DropDownList1" runat="server" Height="20px" Width="100px">
                               </asp:DropDownList>
                             </td>
                           <td>&nbsp;</td>
                         </tr>
                         <tr>
                           <td colspan="5">
                               <asp:GridView ID="GridView1" runat="server" Width="100%" CellPadding="4" 
                                   ForeColor="#333333" GridLines="None">
                                   <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                   <EditRowStyle BackColor="#999999" />
                                   <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                   <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                   <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                   <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                   <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                   <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                   <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                   <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                   <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                               </asp:GridView>
                               </td>
                         </tr>
                       </table>
</div> 
                     <div id="Rechazo">
                     &nbsp;<table class="style1">
                             <tr>
                                 <td>
                                     Motivo de rechazo</td>
                                 <td>&nbsp;<asp:DropDownList ID="DropDownList2" runat="server" Height="20px" 
                                         Width="100px">
                               </asp:DropDownList>
                             &nbsp;</td>
                                 <td>&nbsp;
                                     </td>
                             </tr>
                             <tr>
                                 <td colspan="3">&nbsp;
                                 <asp:GridView ID="GridView2" runat="server" Width="100%" CellPadding="4" 
                                   ForeColor="#333333" GridLines="None">
                                   <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                   <EditRowStyle BackColor="#999999" />
                                   <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                   <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                   <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                   <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                   <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                   <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                   <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                   <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                   <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                               </asp:GridView>
                                 </td>
                             </tr>
                         </table>
                     </div>  
              </div>      
                    </div>	


</div>





   </div>


  
              


   
        


                       </div>
</asp:Content>
